package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Setmeal;

import java.util.List;

/**
 * @autahor: csl
 * @date: 2019/7/18
 * @description: 套餐接口
 * @version:1.0
 */
public interface SetmealService {
    /**
     * 分页查询
     * @param queryPageBean 查询条件对象
     * @return
     */
    PageResult findPage(QueryPageBean queryPageBean);
    void add(Setmeal setmeal,Integer[] ids);

    List<Setmeal> findAll();

    Setmeal findSetmealById(Integer id);
}
